/* banner首屏样式 */
.banner{
    width: 100%;
}
.banner-c{
    width: 1200px;
    height: 300px;
    margin: 0 auto;
    background: url('http://www.bufantec.com/site/jianshe/pages/project/static/img/banner.jpg') no-repeat center;
}

/* 产品主体部分 样式 */
.pro{
    width: 100%;
}
.pro-c{
    width: 1200px;
    margin: 0 auto;
}
.pro-c .title{
    width: 100%;
    padding-top: 50px;
    padding-bottom: 70px;
}
.pro-c .title .address{
    float: left;
}

/* 标题右 导航 样式 */
.pro-c .pro-nav{
    width:fit-content;
    float: right;
}
.pro-nav .pro-nav-item{
    float: left;
    font-size: 14px;
    width: 97px;
    height: 16px;
    line-height: 16px;
    text-align: center;    
}
/* 导航间竖线样式 */
.pro-nav .line{
    /* 要设置跟随线float 不然li.line会换行 */
    float: left;
    width: 1px;
    height: 8px;
    background-color: #767676;
    margin-top: 5px;
}


/* 项目导航跟随线样式 */
.pro-nav .pro-nav-item::after{
    display: block;
    content: '';
    width: 12px;
    height: 1px;
    margin: 0 auto;
    margin-top: 3px;
    background-color: #668aca;
    opacity: 0;
}

/* hover状态 */
.pro-nav .pro-nav-item:hover a{
    font-size: 16px;
    color: #668aca;
}
.pro-nav .pro-nav-item:hover::after{
    opacity: 1;
}

/* active部分高亮 */
.pro-nav .pro-nav-item.active a{
    font-size: 16px;
    color: #668aca;
}
.pro-nav .pro-nav-item.active::after{
    opacity: 1;
}


/* 产品实物展示样式 */
.pro-c .goods{
    /* overflow: hidden; */
    width: 100%;
}
.pro-c .goods .goods-item{
    /* 设置超出部分隐藏 否则遮罩层会在item没有被点击到时出现 */
    overflow: hidden;
    position: relative;
    float: left;
    width: 360px;
    /* 将height设置为图片+文字信息的总长度  */
    height: 360px;
    margin: 0 auto;
    margin-right: 60px;
    /* 不要使用height+margin的形式 否则overflow:hidden之后 在margin区域的内容不会显示 即info信息在遮罩层没有出现时也不会出现 */
    /* margin-bottom: 40px; */
}
.pro-c .goods .goods-item .goods-info{
    font-size: 16px;
    line-height: 18px;  
    width: 260px;   
    height: 40px;
    margin: 0 auto;
}
/* 产品实物遮罩层样式 */
.pro-c .goods .goods-item .goods-mask{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 320px;
    color: #f8f8f8;
    background-color: rgba(0,0,0,.5);
    /* opacity: 0; */
    transform: translateY(-100%);
    transition: 1s;
}
.goods .goods-mask .num{
    position: absolute;
    left: 84px;
    top: 131px;
    font-size: 30px;
    width: 25px;
    height: 25px;
    line-height: 25px;
}
.goods .goods-mask .goods-mask-line{
    position: absolute;
    left: 0;
    top: 154px;
    width: 80px;
    height: 1px;
    background-color: #f8f8f8;
}
.goods .goods-mask .goods-mask-info{
    position: absolute;
    left: 69px;
    top: 171px;
    font-size: 16px;    
    /* width: 221px; */
    height: 40px;
    line-height: 24px;
}
/* hover状态 */
.pro-c .goods .goods-item:hover .goods-mask{
    opacity: 1;
    transform: translateY(0);
}
.pro-c .goods .goods-item:hover .goods-info{
    display: none;
}